package com.lay.layhttp;

import com.lay.http.Intercetor;
import com.lay.http.core.RequestBody;
import com.lay.http.core.ResponseBody;

/**
 * Created by Administrator on 2019-12-25.
 */

public class PostHeaderInterctor implements Intercetor {
    @Override
    public ResponseBody intercetor(RequestBody request) {
        request.header("Content-Type", "application/json");
        return request.process();
    }
}
